package com.edu.exam.enums.examination.paper;

import com.edu.exam.enums.core.BaseEnum;

/**
 * OMR来源类型枚举
 */
public enum OmSourceType implements BaseEnum {
    SCANNER("SCANNER", "扫描仪"),
    CAMERA("CAMERA", "摄像机"),
    MOBILE("MOBILE", "移动设备"),
    WEB("WEB", "网页"),
    EMAIL("EMAIL", "邮件"),
    UPLOAD("UPLOAD", "上传"),
    API("API", "API"),
    DATABASE("DATABASE", "数据库"),
    FILE_SYSTEM("FILE_SYSTEM", "文件系统"),
    CLOUD_STORAGE("CLOUD_STORAGE", "云存储"),
    NETWORK("NETWORK", "网络"),
    REMOTE("REMOTE", "远程"),
    INTEGRATION("INTEGRATION", "集成"),
    BATCH("BATCH", "批量"),
    STREAM("STREAM", "流"),
    MANUAL("MANUAL", "手动输入"),
    COPY("COPY", "复制"),
    IMPORT("IMPORT", "导入"),
    MIGRATION("MIGRATION", "迁移"),
    BACKUP("BACKUP", "备份");

    private final String code;
    private final String description;

    OmSourceType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
